package com.yaj.myfactorysupport.util;

/**
 * @ClassName SucessCodeEnum
 * @Description 成功信息枚举
 * @date 2021/5/2 17:38
 * @Version 1.0
 */
public enum SucessCodeEnum {
    登录成功("S0001","登录成功"),
    记录查找成功("S0002","正确查找到了记录"),
    插入成功("S0003","插入记录成功"),
    删除成功("S0004","删除记录成功"),
    重置成功("S0005","重置成功"),
    报告故障成功("S0006","报告故障成功"),
    恢复故障成功("S0007","恢复故障成功"),
    报告修理成功("S0008","报告修理成功");

    private String code;
    private String msg;

    SucessCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
